package com.huamoxi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_dictionary")
public class Dictionary extends BaseEntity implements Serializable {

    // 主键
    @Id
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    // 键
    private String filed;

    // 值
    private String value;

    // 备注
    private String remark;

    // 状态
    private Integer status;
}
